package com.fas.system.mapper;

import com.fas.system.domain.FasInspectionTask;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FasInspectionTaskMapper {

    /**
     * 批量插入巡检任务数据
     * @param list
     * @return
     */
    int batchInsertTask(List<FasInspectionTask> list);

    int deleteFasInspectionTask(@Param("lindIds") Long[] lindIds);

    List<FasInspectionTask> findAll(FasInspectionTask fasInspectionTask);

    int minappLineStart(Long id);

    int miniappTaskStatus(@Param("id") Long id, @Param("status") Integer status);


    List<FasInspectionTask> findByInspectionDate(String inspectionDate);

}
